CWS Command-line Tool - UpgradeSVNWorkingCopy |
|
The command-line tool UpgradeSVNWorkingCopy is used to upgrade the existing team development workspaces to the configured version of Subversion.
Note: Before you execute this CWS command-line tool, see 'Specific CWS commands' in Using the CWS Command-line Tools for more information on using the CWS command-line tools.
The command-line tool UpgradeSVNWorkingCopy is used in one of the following ways:
- By upgrading the working copy of a specific workspace
This is achieved by running the tool with the following parameters:
UpgradeSVNWorkingCopy <organization name> <workspace name>
where, <organization name>
is the name of the organization and <workspace name>
is the name of the workspace of which the working copy must be upgraded.
- By upgrading the working copy of all the workspaces in a specific organization
This is achieved by running the tool with the following parameters:
UpgradeSVNWorkingCopy <organization name>
where, <organization name>
is the name of the organization.
- By upgrading the working copies of all the workspaces in all the organizations
This is achieved by running the tool with the following parameter:
UpgradeSVNWorkingCopy -all-organizations
Examples
If you want to upgrade a single team development workspace in the organization MyOrganization, use the following command:
~>UpgradeSVNWorkingCopy MyOrganization MyWorkspace Starting SVN Working Copy Upgrade Upgrading workspaces in organization: 'MyOrganization' The workspace 'MyWorkspace' has been upgraded to the SVN version 1.7.
If you want to upgrade all the workspaces in all the organizations, use the following command:
~>UpgradeSVNWorkingCopy -all-organizations Starting SVN Working Copy Upgrade Upgrading workspaces in organization: 'MyOrganization' The workspace 'Example Workspace 1' has been upgraded to the SVN version 1.7. Upgrading workspaces in organization: 'system' The workspace 'Example Workspace 2' has been upgraded to the SVN version 1.7.
Note: In cases where any of the parameters contain whitespace characters, you must include them in double quotes as follows:
UpgradeSVNWorkingCopy "My Organization" "My Workspace"